import { createRouter, createWebHistory } from 'vue-router';

const Home = () => import('../views/home/index.vue')
const About = () => import('../views/about/index.vue')

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/home',
            name: "home",
            component: Home
        },
        {
            path: '/about',
            name: "about",
            component: About
        }
    ]
})

export default router;